<?php

namespace app\api\validate;

use think\Validate;

class  WarehouseValidate extends Validate
{
    protected $rule = [
        'name' => 'require',
        'person' => 'require',
        'store' => 'require'
    ];

    protected $msg = [
        'name.require' => '请输入商品名称',
        'person.require' => '请选择仓库负责人',
        'store.require' => '请选择门店'
    ];
}